package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/6/2 0002.
 * 账项列表数据类
 */

public class AccountsListModel implements IModel {

    /**
     * state : 9
     * info :
     * pCashierPayListDtos : [{"code":1,"descp":"房费","type":0},{"code":2,"descp":"服务费","type":0},{"code":44,"descp":"软饮","type":0}]
     */

    private int state;
    private String info;
    private List<PCashierPayListDtosBean> pCashierPayListDtos;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PCashierPayListDtosBean> getPCashierPayListDtos() {
        return pCashierPayListDtos;
    }

    public void setPCashierPayListDtos(List<PCashierPayListDtosBean> pCashierPayListDtos) {
        this.pCashierPayListDtos = pCashierPayListDtos;
    }

    public static class PCashierPayListDtosBean implements Serializable{
        /**
         * code : 1
         * descp : 房费
         * type : 0
         */

        private int code;
        private String descp;
        private int type;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getDescp() {
            return descp;
        }

        public void setDescp(String descp) {
            this.descp = descp;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
